	//表情数据
	var faceMapPath = new Map();
	faceMapPath.put("[开心]", "img/face/开心.png");
	faceMapPath.put("[草开心]", "img/face/草开心.png");
	faceMapPath.put("[哭笑]", "img/face/哭笑.png");
	faceMapPath.put("[憨笑]", "img/face/憨笑.png");
	faceMapPath.put("[尬笑]", "img/face/尬笑.png");
	faceMapPath.put("[笑]","img/face/笑.png");
	faceMapPath.put("[自信]", "img/face/自信.png");
	faceMapPath.put("[困]", "img/face/困.png");
	faceMapPath.put("[色眯]", "img/face/色眯.png");
	faceMapPath.put("[得意的笑]", "img/face/得意的笑.png");
	faceMapPath.put("[斜视]", "img/face/斜视.png");
	faceMapPath.put("[不开心]", "img/face/不开心.png");
	faceMapPath.put("[不明]", "img/face/不明.png");
	faceMapPath.put("[哭]", "img/face/哭.png");
	faceMapPath.put("[骷髅]", "img/face/骷髅.png");
	faceMapPath.put("[屎]", "img/face/屎.png");
	faceMapPath.put("[爱你]", "img/face/爱你.png");
	faceMapPath.put("[神经病]", "img/face/神经病.png");
	faceMapPath.put("[惊呆]", "img/face/惊呆.png");
	//数据库
	/*
	整体信息格式
		{
			infor:{},
			friends:[{user, d_name, age, add, email}],
			historyMsg:{user:[{msg_type:, msg:,}],},
			allMessage:{user:[],},
			imgs:{user:path},
		}
	用户个人信息
	    {
			user:"928172252",
			d_name:"陈继鑫",
			age:18,
			add:{province:"广西", city:"北海", area:"银海区", detailed:"贵海花园1期"},
			email:"928172252@qq.com",
		}
	好友项消息格式
		{
		}
	消息格式
		{
			from:"", 
			to:"", 
			name:"哥",
			type:,			
			msg_type:0, 
			msg:"好的呢", 
		}
		type 0(系统) 1(聊天) 2(请求好友/同意) 3(查找结果) 4(其他) 
		msg_type 0(接收消息) 1(发送消息)
	*/
	var DataBaseStrExample = '{'+
			'"infor":{'+
				'"user":"928172252",'+
				'"u_name":"仲夏",'+
				'"age":18,'+
				'"add":{province:"广西", city:"北海", area:"银海区", detailed:"贵海花园1期"},'+
				'"email":"928172252@qq.com"'+
			'},'+
			'friends:['+
				'{  "user":"1281384046", '+
					'"u_name":"IA",'+
					'"d_name":"IA" ,'+
					'"age":18,'+
					'"add":{province:"广东", city:"广州", area:"天河区", detailed:"车陂南"},'+
					'"email":"chenJiWey@163.com"'+
				'},'+
				'{   "user":"000000", '+
					'"u_name":"图灵AI",'+
					'"d_name":"傻子" ,'+
					'"age":22,'+
					'"add":{"province":"广东", "city":"广州", "area":"天河区", "detailed":"车陂南"},'+
					'"email":"chenJiWey@163.com"'+
				'}'+
			'],'+
			'"historyMsg":{},'+
			'"allMessage":{},'+
			'"imgs":{"928172252":"img/h_pho.png","1281384046":"img/friend_cjw.png","000000":"img/frend_ai.png"}'+
		'}';
	var DataBaseStr = '{"infor":{"user":928172252, "u_name":"仲夏", "age":18, "add":{"province":"广西", "city":"北海", "area":"银海区", "detailed":"贵海花园1期"}, "email":"928172252@qq.com"}, "friends":[{"user":1281384046, "u_name":"IA", "d_name":"IA", "age":18, "add":{"province":"广东", "city":"广州", "area":"天河区", "detailed":"车陂南"}, "email":"chenJiWey@163.com", "h_pho":"img/friend_cjw.png"},{"user":000000, "u_name":"图灵AI", "d_name":"傻子", "age":22, "add":{"province":"广东", "city":"广州", "area":"天河区", "detailed":"车陂南"}, "email":"chenJiWey@163.com", "h_pho":"img/frend_ai.png"}], "historyMsg":{"1281384046":[], "000000":[]}, "allMessage":{"1281384046":[{"msg_type":"undefined", "msg":1},{"msg_type":"undefined", "msg":3},{"msg_type":"undefined", "msg":334343}], "000000":[{"msg_type":"undefined", "msg":"你好"},{"msg_type":0, "msg":"默默飘过来～"},{"msg_type":"undefined", "msg":"快过来"},{"msg_type":0, "msg":"不过去"},{"msg_type":"undefined", "msg":"过来"},{"msg_type":0, "msg":"遵命，我来了哈。"},{"msg_type":"undefined", "msg":"你爸爸是谁"},{"msg_type":0, "msg":"家父是威大帅哥呀，行不更名坐不改姓。"}]}, "imgs":{"928172252":"img/h_pho.png", "1281384046":"img/friend_cjw.png", "000000":"img/frend_ai.png"}}'
var DataBase = $$.json.toObject(DataBaseStr);
